package com.mrcode.neptuneproject.service;

import com.mrcode.neptuneproject.common.Result;

/**
 * chat GPT相关API调用
 *
 * @Author YSH
 * @Date 2023/5/31 19:06
 * @Version 1.0
 */
public interface ChatGptService {

    /**
     * 调用GPT回复API
     *
     * @param prompt question
     * @return Prediction
     */
    Result<String> getChatGptAnswer(String prompt);

}
